package com.dongbing.entity.support;

import com.baomidou.mybatisplus.annotation.TableName;
import com.dongbing.entity.base.BaseEntity;
import com.dongbing.enums.BatchTaskDetailState;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 批量任务明细
 *
 * @author zhurg
 * @create 2023/3/1
 */
@Data
@TableName(value = "batch_task_detail")
@EqualsAndHashCode(callSuper = true)
public class BatchTaskDetailPO extends BaseEntity {

    private static final long serialVersionUID = -9166750073894824941L;

    /**
     * 任务ID
     */
    private Long batchTaskId;

    /**
     * 业务数据ID
     */
    private Long dataId;

    /**
     * 异常原因
     */
    private String errMsg;

    /**
     * 状态
     */
    private BatchTaskDetailState state;

}